package com.ps.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ps.pojo.Role;
import com.ps.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-12-18
 */
public interface UserService extends IService<User> {

    public Page<User> getAll(Integer page,Integer limit,User user);

    boolean add(User user);

    /**
     * 批量删除
     */
    public boolean delet(Integer[]ids);
}
